package cn.bdqn.service;

import cn.bdqn.bean.result.Page;
import cn.bdqn.domain.Accept;
import org.springframework.transaction.annotation.Transactional;

//药库接收药房申请的业务
public interface AcceptService {

    public Page<Accept> queryAll(Integer startNum);

    public Page<Accept> queryBySelective(Accept accept, Integer startNum);

    public Accept queryById(Integer id);

    @Transactional
    public void addSelective(Accept accept);

    @Transactional
    public void changeByPrimaryKeySelective(Accept accept);

    @Transactional
    public void removeById(Integer id);
}
